package com.label.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.label.Model.Do.Job;
import com.label.Model.Query.JobQuery;

import java.util.List;

public interface JobService extends IService<Job> {
    List<Job> getAllJob();

    Job getOneById(JobQuery jobQuery);

    List<Job> getAllByName(JobQuery jobQuery);

    List<Job> getAllByStates(JobQuery jobQuery);

    List<Job> getMyJobs();

    Boolean addJob(JobQuery jobQuery);

    Boolean delJob(JobQuery jobQuery);

    Boolean updateJob(JobQuery jobQuery);
}
